*{
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}
img{
    display: block;
}
.banner{
    width: 600px;
    height: 400px;
    margin: 30px auto 0;
    position: relative;
    overflow: hidden;
}
.pics{
    position: relative;
    display: flex;
    justify-content: center;
}
.pics li{
    position: absolute;
    opacity: 0;
}
.pics p{
    width: 600px;
    position: absolute;
    top: 0;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: rgba(0,0,0,.5);
    color: white;
    font-size: 20px;

}
.page{
    position: absolute;
    bottom: 10px;
    left: 250px;
    display: flex;
}
.page span{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: black;
    margin-left: 10px;
}
.tag{
    position: absolute;
    width: 50px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 30px;
    top: 50%;
    background-color: rgba(0,0,0,.5);
    transition: .5s linear;
}
.prev{
    left: -50px;
}
.next{
    right: -50px;
}
.active{
    background-color: white!important;
}
.opacity{
    opacity: 1!important;
}
.banner:hover .prev{
    left: 0;
   
}
.banner:hover .next{
    right: 0;
}